from urllib import parse

# 字典转码为url编码
url_params = parse.urlencode({
    "name":"qiku",
    "address":"东三街"

})
print(url_params)

# 汉字编码为%**
s1 = parse.quote("我叫莫超伦")
print(s1)

# 解码%**
s2 = parse.unquote(s1)
print(s2)















